package com.yunxin.core.infra.persistence.entity.order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户申请分配订单表
 *
 * @author zero°
 * @since   2024-01-03
 */
public class OrderUserApplyAllocationDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 申请订单号
     */
    private String applyOrderNo;

    /**
     * 用户code
     */
    private String userCode;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 用户手机号
     */
    private String userPhone;

    /**
     * 身份证号
     */
    private String userIdentityNo;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 产品价格
     */
    private BigDecimal productPrice;

    /**
     * 渠道推广价格
     */
    private BigDecimal channelPromotionPrice;

    /**
     * 渠道推广价格版本
     */
    private Long channelPromotionPriceVersion;

    /**
     * 产品价格版本
     */
    private Long productPriceVersion;

    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 当前所属商户账户id
     */
    private Long currentAccountId;

    /**
     * 分配时间
     */
    private Date allocationTime;

    /**
     * 分配类型 1.自动分配 2.规则分配 3.人工分配
     */
    private Integer allocationType;

    /**
     * 提交时间
     */
    private Date submitTime;

    /**
     * 借款金额
     */
    private BigDecimal loanAmount;

    /**
     * 借款期限 1.借款3个月 2.借款6个月 3.借款9个月 4.借款12个月 5.借款24个月
     */
    private Integer loanPeriod;

    /**
     * 订单状态 1.待处理 2.待跟进 3.有效客户 4.无效客户
     */
    private Integer orderStatus;

    /**
     * 申请城市
     */
    private String applyCity;

    /**
     * 备注
     */
    private String remark;

    /**
     * 用户微信号
     */
    private String userWechat;

    /**
     * 企业微信
     */
    private String enterpriseWechat;

    /**
     * api撞库单号
     */
    private String apiLibraryNo;

    /**
     * api跳转链接
     */
    private String apiUrl;

    /**
     * 标识删除 0.存在 1.删除
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getApplyOrderNo() {
        return applyOrderNo;
    }

    public void setApplyOrderNo(String applyOrderNo) {
        this.applyOrderNo = applyOrderNo;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserIdentityNo() {
        return userIdentityNo;
    }

    public void setUserIdentityNo(String userIdentityNo) {
        this.userIdentityNo = userIdentityNo;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public BigDecimal getChannelPromotionPrice() {
        return channelPromotionPrice;
    }

    public void setChannelPromotionPrice(BigDecimal channelPromotionPrice) {
        this.channelPromotionPrice = channelPromotionPrice;
    }

    public Long getChannelPromotionPriceVersion() {
        return channelPromotionPriceVersion;
    }

    public void setChannelPromotionPriceVersion(Long channelPromotionPriceVersion) {
        this.channelPromotionPriceVersion = channelPromotionPriceVersion;
    }

    public Long getProductPriceVersion() {
        return productPriceVersion;
    }

    public void setProductPriceVersion(Long productPriceVersion) {
        this.productPriceVersion = productPriceVersion;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getCurrentAccountId() {
        return currentAccountId;
    }

    public void setCurrentAccountId(Long currentAccountId) {
        this.currentAccountId = currentAccountId;
    }

    public Date getAllocationTime() {
        return allocationTime;
    }

    public void setAllocationTime(Date allocationTime) {
        this.allocationTime = allocationTime;
    }

    public Integer getAllocationType() {
        return allocationType;
    }

    public void setAllocationType(Integer allocationType) {
        this.allocationType = allocationType;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public BigDecimal getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }

    public Integer getLoanPeriod() {
        return loanPeriod;
    }

    public void setLoanPeriod(Integer loanPeriod) {
        this.loanPeriod = loanPeriod;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getApplyCity() {
        return applyCity;
    }

    public void setApplyCity(String applyCity) {
        this.applyCity = applyCity;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUserWechat() {
        return userWechat;
    }

    public void setUserWechat(String userWechat) {
        this.userWechat = userWechat;
    }

    public String getEnterpriseWechat() {
        return enterpriseWechat;
    }

    public void setEnterpriseWechat(String enterpriseWechat) {
        this.enterpriseWechat = enterpriseWechat;
    }

    public String getApiLibraryNo() {
        return apiLibraryNo;
    }

    public void setApiLibraryNo(String apiLibraryNo) {
        this.apiLibraryNo = apiLibraryNo;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}